package com.example.siyun.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Pshenhe {
    private int id;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date ptime;
    //商品id
    private int pid;
    //人员
    private String prenyuan;
    //结果
    private String pjieguo;
    //详情
    private String pxiangqing;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Date getPtime() {
        return ptime;
    }

    public void setPtime(Date ptime) {
        this.ptime = ptime;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public String getPrenyuan() {
        return prenyuan;
    }

    public void setPrenyuan(String prenyuan) {
        this.prenyuan = prenyuan;
    }

    public String getPjieguo() {
        return pjieguo;
    }

    public void setPjieguo(String pjieguo) {
        this.pjieguo = pjieguo;
    }

    public String getPxiangqing() {
        return pxiangqing;
    }

    public void setPxiangqing(String pxiangqing) {
        this.pxiangqing = pxiangqing;
    }

    @Override
    public String toString() {
        return "Pshenhe{" +
                "id=" + id +
                ", ptime=" + ptime +
                ", pid=" + pid +
                ", prenyuan='" + prenyuan + '\'' +
                ", pjieguo='" + pjieguo + '\'' +
                ", pxiangqing='" + pxiangqing + '\'' +
                '}';
    }
}
